---
title: Add custom model versions
description: Update a model's contents to create a new version of the model due to new package versions, different preprocessing steps, hyperparameters, etc.

---

# Add custom model versions {: #add-custom-model-versions }

If you want to update a model due to new package versions, different preprocessing steps, hyperparameters, and more, you can update the file contents to create a new version of the model. To upload a new version of a custom model _environment_, see [Add an environment version](custom-environments#add-an-environment-version). 

## Create a new minor version

When you update the contents of a model, the minor version (1.1, 1.2, etc.) of the model automatically updates. To create a minor custom model version, select the model from the Custom Model Workshop and navigate to the **Assemble** tab. Under the **Model** header, click **Add files** and upload the files or folders you updated. The minor version is also updated if you delete a file.

![](images/cus-model-minor-version.png)

## Create a new major version

To create a new major version of a model (1.0, 2.0, etc.): 

1. Select the model from the Custom Model Workshop and navigate to the **Assemble** tab. 

2. Under the **Model** header, click **+ New Version**.

    ![](images/cus-model-major-version.png)

3. In the **Create new model version** dialog box, select a version creation strategy and configure the new version:

    ![](images/cmodel-17.png)

    | Setting                               | Description               |
    |---------------------------------------|---------------------------|
    | **Copy contents of previous version** | Add the contents of the current version to the new version of the custom model. |
    | **Create empty version**              | Discard the contents of the current version and add new files for the new version of the custom model. |
    | **Base Environment**                  | Select the base environment of the new version. The environment of the current version is selected by default. |
    | **New version description**           | Enter a description of the new version. The version description is optional.
    | **Keep training data from previous version** |  Enable or disable adding the training data from the current version to the new custom model version. This setting is enabled by default. |

    !!! note
        The **Keep training data from previous version** option is only available if your custom model assigns training data at the version level, not the model level. For more information, see [Add training data to a custom model](custom-model-training-data).

4. Click **Create new version**.

    You can now use a new version of the model in addition to its previous versions. Select the iteration of the model that you want to use from the **Version** dropdown.

    ![](images/cmodel-11.png)



